﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;

namespace THO7AlgoritmTimerApplication {
    class To16colors : VisionAlgorithm {
        public To16colors(String name) : base(name) {}
        public override Bitmap DoAlgorithm(Bitmap sourceImage) {
            Bitmap dest = sourceImage.Clone(new Rectangle(0, 0, sourceImage.Width, sourceImage.Height), PixelFormat.Format4bppIndexed);
            return dest;
        }
    }
}
